package cevent.source.cloudcenter.server.enums;

/**
 * Created by Cevent on 2021/3/28.
 * 状态枚举：PUBLISH("P","发布"),DRAFT("D","草稿")
 */
public enum StatusEnum {
    PUBLISH("P","发布"),
    DRAFT("D","草稿");

    private String code;
    private String desc;

    StatusEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
